package com.yundou.www.wrpc.core.context;

import java.util.HashMap;
import java.util.Map;

/**
 * @author wangweiwei
 * @since 2021/7/22
 */
public class RpcClientContext {

    public static Map<Class ,Object> clientMap = new HashMap<>(16);


    public static <T>T getClientInstance(Class<T> classT) {
        return (T) clientMap.get(classT);
    }


    public static void put(Class<?> classT , Object o) {
        clientMap.put(classT , o);
    }

}
